package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 矿机基础信息对象 m_mine_machine
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class MMineMachine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 矿机编号 */
    @Excel(name = "矿机编号")
    private Long machineNo;

    /** 矿机名称 */
    @Excel(name = "矿机名称")
    private String machineName;

    /** 矿机类型 1体验区  2进阶区  3活动区 */
    @Excel(name = "矿机类型 1体验区  2进阶区  3活动区")
    private Integer machineType;

    /** 矿机类型名称  */
    @Excel(name = "矿机类型名称 ")
    private String machineTypeName;

    /** 购入最小数量 */
    @Excel(name = "购入最小数量")
    private Long minBuyAmount;

    /** 购入最大数量 */
    @Excel(name = "购入最大数量")
    private Long maxBuyAmount;

    /** 单价 */
    @Excel(name = "单价")
    private Long buyAmount;

    /** 合约周期 */
    @Excel(name = "合约周期")
    private Long totalMineDay;

    /** 开始释放 */
    @Excel(name = "开始释放")
    private Long freedDay;

    /** 挖矿效率 */
    @Excel(name = "挖矿效率")
    private BigDecimal power;

    /** 剩余总量 */
    @Excel(name = "剩余总量")
    private Long totalProduction;

    /** 剩余总量 */
    @Excel(name = "剩余总量")
    private Long levelProduction;

    /** 状态 0停止 1启动   */
    @Excel(name = "状态 0停止 1启动  ")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMachineNo(Long machineNo) 
    {
        this.machineNo = machineNo;
    }

    public Long getMachineNo() 
    {
        return machineNo;
    }
    public void setMachineName(String machineName) 
    {
        this.machineName = machineName;
    }

    public String getMachineName() 
    {
        return machineName;
    }
    public void setMachineType(Integer machineType) 
    {
        this.machineType = machineType;
    }

    public Integer getMachineType() 
    {
        return machineType;
    }
    public void setMachineTypeName(String machineTypeName) 
    {
        this.machineTypeName = machineTypeName;
    }

    public String getMachineTypeName() 
    {
        return machineTypeName;
    }
    public void setMinBuyAmount(Long minBuyAmount) 
    {
        this.minBuyAmount = minBuyAmount;
    }

    public Long getMinBuyAmount() 
    {
        return minBuyAmount;
    }
    public void setMaxBuyAmount(Long maxBuyAmount) 
    {
        this.maxBuyAmount = maxBuyAmount;
    }

    public Long getMaxBuyAmount() 
    {
        return maxBuyAmount;
    }
    public void setBuyAmount(Long buyAmount) 
    {
        this.buyAmount = buyAmount;
    }

    public Long getBuyAmount() 
    {
        return buyAmount;
    }
    public void setTotalMineDay(Long totalMineDay) 
    {
        this.totalMineDay = totalMineDay;
    }

    public Long getTotalMineDay() 
    {
        return totalMineDay;
    }
    public void setFreedDay(Long freedDay) 
    {
        this.freedDay = freedDay;
    }

    public Long getFreedDay() 
    {
        return freedDay;
    }
    public void setPower(BigDecimal power) 
    {
        this.power = power;
    }

    public BigDecimal getPower() 
    {
        return power;
    }
    public void setTotalProduction(Long totalProduction) 
    {
        this.totalProduction = totalProduction;
    }

    public Long getTotalProduction() 
    {
        return totalProduction;
    }
    public void setLevelProduction(Long levelProduction) 
    {
        this.levelProduction = levelProduction;
    }

    public Long getLevelProduction() 
    {
        return levelProduction;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("machineNo", getMachineNo())
            .append("machineName", getMachineName())
            .append("machineType", getMachineType())
            .append("machineTypeName", getMachineTypeName())
            .append("minBuyAmount", getMinBuyAmount())
            .append("maxBuyAmount", getMaxBuyAmount())
            .append("buyAmount", getBuyAmount())
            .append("totalMineDay", getTotalMineDay())
            .append("freedDay", getFreedDay())
            .append("power", getPower())
            .append("totalProduction", getTotalProduction())
            .append("levelProduction", getLevelProduction())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .toString();
    }
}
